#define _CRT_SECURE_NO_WARNINGS   1

#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<assert.h>
typedef int HPType;

typedef struct HP {

	HPType* a;
	int size;
	int capacity;

}HP;

void HPInit(HP* hp);
void HPDestroy(HP*hp);

void HPInsert(HP*hp,HPType x);